<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en"
	th:replace="header/header :: header('发布信息-实体商户社群服务平台',
	'/assets/libs/postedit/honeySwitch.css,
	/assets/css/pub2.css?v=10,
	/assets/layui/css/layui.css,
	/assets/module/admin.css,
	/assets/css/progress.css,
	/assets/css/publish.css,
	/assets/libs/postedit/tagsinput.css',
	'/assets/tinymce/tinymce.min.js,
	/assets/js/prefixfree.min.js,
	/assets/libs/index/app.js?v=22,
	/assets/libs/postedit/publishtinymce.js?v=41')">
</head>
<body class="theme-my" data-theme="theme-my">

<style>
   
.publish-message-opr {
	margin-left: 32px;
	color: #4e7dd2;
	cursor: pointer;
}

.tox-tinymce {
    border: 0px solid #ccc;
}
.tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary {
    background: url('') left 0 top 0 #fff;
}
.tox .tox-menubar+.tox-toolbar, .tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary {
    border-top: 0px solid #ccc;
    margin-top: -1px;
    background-color: #fafafa;
}
.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) {
    border-right: 0px solid #ccc;
}

.tox:not(.tox-tinymce-inline) .tox-editor-header {
    top: 64px;
    position: fixed;
    z-index: 1000;
    width: 100%;
    visibility: visible;
    left: 0;
    margin: 0 auto;
    background-color: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    height: 56px;
    line-height: 56px;
}
.tox .tox-menubar {
	background-color: #fafafa;
}

.tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary {
    background: #fafafa;
    margin-top: 10px !important;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
}

.tox .tox-toolbar-overlord {
    background-color: #fff;
}

.perClassUl {
    padding: 8px 10px;
    max-height: 100px;
    background: #fafafa;
    border: 1px solid #DDDDDD;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: pointer;
}

ul .perClassLi {
    display: inline-block;
    margin: 0 10px 5px 0;
    float: left;
}

.txt-boxColor {
    font-size: 12px;
    color: #333;
}

.layui-form-label{
	width:100px;
}
</style>

<div id="root" class="full-screen">
	<div class="pgc-wrapper pgc-index is-full-screen graphic_publish-wrapper publish-wrapper">
		<div class="garr-header">
			<div class="shead_wrap">
				<a class="shead_logo" href="/">帅小铺</a>
				<div class="shead_right">
					<div class="write-rule">
						<span>帅小铺发文规范</span>
					</div>
					<div class="sys-msg">
						<div>
							<a class="sys-msg-entity" href="/u/notice"> 
								<span class="byte-badge message-badge"> 
									<svg t="1597642704272"
											class="icon" viewBox="0 0 1024 1024" version="1.1"
											xmlns="http://www.w3.org/2000/svg" p-id="6253" width="20"
											height="20">
											<path
												d="M847.768253 127.980813 175.951361 127.980813c-68.013023 0-111.960954 42.982954-111.960954 109.585861l0 526.231119c0 66.400293 66.539462 131.710764 134.356011 131.710764l627.02985 0c67.815525 0 134.056182-65.311495 134.056182-131.710764L959.432449 237.567697C959.430402 170.963767 915.781276 127.980813 847.768253 127.980813zM892.298446 763.797793c0 30.127158-36.153408 65.980737-66.923202 65.980737L198.345394 829.77853c-30.769794 0-67.223031-35.853579-67.223031-65.980737L131.122363 347.646791 492.682026 593.377402c5.752004 3.918239 12.476149 5.866614 19.167548 5.866614 6.691399 0 13.260002-1.948375 19.033495-5.866614l361.415376-245.690702L892.298446 763.797793zM892.298446 267.603781l-380.588041 258.710226-380.588041-258.752182 0-29.993105c0-29.934776 14.278191-43.855834 44.828998-43.855834l671.817915 0c30.550807 0 44.530193 13.921058 44.530193 43.855834L892.299469 267.603781z"
												p-id="6254" fill="#707070"></path>
									</svg> 
									消息
									<!-- <span class="byte-badge-number">12</span> -->
								</span>
							</a>
						</div>
					</div>
					<div class="user-panel hideName">
						 <div class="dropdown-menu dropdown-hover">
							<div class="information">
								<a href="/u/profile" target="_blank" rel="noopener noreferrer"
									th:title="${'用户' +user.nickName + '的个人主页'}">
									<div class="new_user_avatar">
										<img th:src="${user.avatar}" role="presentation">
									</div>
								</a>
							</div>
							<div class="dropdown-menu-nav dropdown-bottom-center author_dashbord">
								<ul>
									<li class="author" lay-event="usersettings">
										<i class="tui-iconfont layui-icon layui-icon-set-sm" style="font-size:20px; color: #707070;font-weight: 600;"></i> 
										<span>设置</span>
									</li>
									<li class="loginout" lay-event="logout"><span><i></i>退出登录</span></li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="menu-tab-stick-header-wrapper menu-tab-wrapper-base_creation"
			style="top: 20px;">
			<div class="menu-tab-stick-header-fixer">
				<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" lay-event="managelist"
					viewBox="0 0 24 24" class="menu-tab-stick-header-back-icon">
						<g fill="none" fill-rule="evenodd">
						<circle cx="12" cy="12" r="11.5" fill="#F5F5F5" stroke="#E8E8E8"></circle>
						<g stroke="#999" stroke-linecap="round" stroke-linejoin="round"
						stroke-width="1.5">
						<path d="M4 8L0 4 4 0M1 4L10 4" transform="translate(7 8)"></path></g></g></svg>

				<div class="dropdown-menu" style="pointer-events: auto;">
					<span class="menu-tab-stick-header-button">
						<span tabindex="0">
							<span th:text="${'发布'  +  publishName}"></span>
							<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" id="rotate" class="">
								<path fill="#666" fill-rule="evenodd" d="M0 0L6.667 0 3.333 3.333z" transform="translate(1.667 3.333)"></path>
							</svg>
						</span>
					</span>

					<div class="dropdown-menu-nav" style="top: 30px;">
						<div class="menu-tab-stick-header-dropdown-list-item">
							<span class="tab-name">切换发布体裁</span>
						</div>
						<div class="menu-tab-stick-header-dropdown-list-item" th:if="${tid != 1}" data-key="puyouquan" lay-event="bodyload">
							<svg t="1597650185891" class="icon" viewBox="0 0 1024 1024"
								version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23936"
								width="17" height="17">
								<path
									d="M508.8 28.8c-19.2 0-35.2 0-54.4 3.2-41.6 6.4-86.4 16-124.8 32C288 83.2 656 390.4 662.4 400V54.4l-28.8-9.6c-41.6-9.6-83.2-16-124.8-16z"
									fill="#FA5452" p-id="23937"></path>
								<path
									d="M851.2 172.8c-12.8-12.8-25.6-25.6-41.6-35.2-35.2-25.6-73.6-48-112-64-41.6-16 3.2 454.4 0 470.4L944 304c-3.2-9.6-9.6-19.2-16-25.6-19.2-41.6-48-73.6-76.8-105.6z"
									fill="#6467F0" p-id="23938"></path>
								<path
									d="M956.8 336s-323.2 320-336 329.6h345.6l9.6-28.8c9.6-38.4 16-80 16-121.6 0-19.2 0-35.2-3.2-54.4-3.2-44.8-16-86.4-32-124.8z"
									fill="#5283F0" p-id="23939"></path>
								<path
									d="M483.2 704l240 240c9.6-3.2 19.2-9.6 25.6-16 35.2-19.2 70.4-44.8 99.2-76.8 12.8-12.8 25.6-25.6 35.2-41.6 25.6-35.2 48-70.4 64-108.8 3.2 3.2-451.2 6.4-464 3.2z"
									fill="#00B1FE" p-id="23940"></path>
								<path
									d="M358.4 624v345.6l28.8 9.6c41.6 9.6 80 16 121.6 16 19.2 0 35.2 0 54.4-3.2 41.6-6.4 83.2-16 124.8-32 0 0-320-326.4-329.6-336z"
									fill="#66D020" p-id="23941"></path>
								<path
									d="M323.2 487.616L80 730.816c3.2 9.6 9.6 19.2 16 28.8 19.2 35.2 44.8 67.2 73.6 99.2 12.8 12.8 25.6 25.6 41.6 35.2 35.2 28.8 70.4 48 112 67.2 0 0-3.2-457.6 0-473.6z"
									fill="#9AD122" p-id="23942"></path>
								<path
									d="M44.8 391.616a512 512 0 0 0-16 124.8c0 19.2 0 35.2 3.2 54.4 6.4 44.8 16 86.4 32 124.8 0 0 323.2-326.4 336-332.8H54.4c-3.2 6.4-6.4 19.2-9.6 28.8z"
									fill="#FFC817" p-id="23943"></path>
								<path
									d="M272 92.8c-38.4 22.4-70.4 48-99.2 76.8L134.4 208c-25.6 35.2-48 70.4-64 108.8 0 0 454.4-3.2 470.4 0L297.6 80c-9.6 3.2-19.2 9.6-25.6 12.8z"
									fill="#FF7612" p-id="23944"></path></svg>
							<span class="tab-name">铺友圈</span>
						</div>
						<div class="menu-tab-stick-header-dropdown-list-item" data-key="shangpuzuzhuan" lay-event="bodyload" th:if="${tid != 3}">
							<svg t="1597649603721" class="icon" viewBox="0 0 1024 1024"
								version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9465"
								width="17" height="17">
								<path
									d="M526.51 453.11h90.88v44.85h-90.88v-44.85z m0 89.76h90.88v59.75h-90.88v-59.75z m0 104.55h90.88v59.91h-90.88v-59.91z m371.71-250.06L566.7 125.23c-30.47-25.09-79.92-25.09-110.39 0L124.85 397.36c-30.52 25.14-30.52 65.69 0 90.78h79.51v336.02c0 50.89 41.22 92.16 92.16 92.16h430.03c50.94 0 92.21-41.27 92.21-92.16V488.14h79.46c30.57-25.09 30.57-65.65 0-90.78zM690.6 752.17H443.1v-44.85h33.43v-86.07c-1.18-1.18-2.15-2.35-3.22-3.58l-28.52 33.53c-9.93-14.49-19.66-28.06-28.83-40.65v156.52h-47.82V608.76a578.469 578.469 0 0 1-36.35 83.56c-4.55-19.15-10.6-39.01-18.18-59.75 16.74-24.98 31.75-54.94 45-89.7h-42.75v-44.9h52.27v-48.33c-14.95 1.43-30.31 2.51-45.57 3.48-1.38-17.51-3.84-32.41-6.71-44.8 40.65-2 86.27-6.81 136.45-15l11.62 44.9c-15.98 3.74-32 6.96-48.03 9.78v50.02h49.25v44.85h-49.25v38.97L429 568.99c11.37 11.88 26.42 28.36 44.23 48.69l3.23-3.84V408.32h190.87v299.01h23.19v44.85h0.08z m0 0"
									p-id="9466" fill="#3d89ff"></path></svg>
							<span class="tab-name">商铺租转</span>
						</div>
						<div class="menu-tab-stick-header-dropdown-list-item" th:if="${tid != 4}" data-key="shangpuchushou" lay-event="bodyload">
							<svg t="1597649738963" class="icon" viewBox="0 0 1024 1024"
								version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="14762"
								width="17" height="17">
								<path
									d="M292.571429 906.971429H146.285714c-14.628571 0-21.942857-7.314286-21.942857-21.942858V533.942857c0-7.314286 14.628571-21.942857 21.942857-21.942857h146.285715c14.628571 0 21.942857 7.314286 21.942857 21.942857v351.085714c0 7.314286-7.314286 21.942857-21.942857 21.942858z"
									fill="#F4B1B2" p-id="14763"></path>
								<path
									d="M292.571429 928.914286H146.285714c-29.257143 0-43.885714-21.942857-43.885714-43.885715V533.942857c0-21.942857 21.942857-43.885714 43.885714-43.885714h146.285715c29.257143 0 43.885714 21.942857 43.885714 43.885714v351.085714c7.314286 21.942857-14.628571 43.885714-43.885714 43.885715zM153.6 877.714286h131.657143V541.257143H153.6V877.714286zM943.542857 928.914286H804.571429c-29.257143 0-51.2-21.942857-51.2-51.2V394.971429c0-29.257143 21.942857-51.2 51.2-51.2h138.971428c29.257143 0 51.2 21.942857 51.2 51.2V877.714286c0 29.257143-21.942857 51.2-51.2 51.2z m-7.314286-533.942857H804.571429V877.714286l131.657142-7.314286V394.971429z m7.314286 482.742857z"
									fill="#D72822" p-id="14764"></path>
								<path
									d="M621.714286 906.971429H490.057143c-14.628571 0-29.257143-14.628571-29.257143-29.257143V102.4c0-14.628571 14.628571-29.257143 29.257143-29.257143h124.342857c14.628571 0 29.257143 14.628571 29.257143 29.257143V877.714286c7.314286 14.628571-7.314286 29.257143-21.942857 29.257143z"
									fill="#F4B1B2" p-id="14765"></path>
								<path
									d="M621.714286 928.914286H490.057143c-29.257143 0-58.514286-21.942857-58.514286-58.514286V102.4c0-29.257143 21.942857-58.514286 58.514286-58.514286h124.342857c29.257143 0 58.514286 21.942857 58.514286 58.514286V877.714286c0 29.257143-21.942857 51.2-51.2 51.2zM490.057143 102.4V877.714286h131.657143V102.4H490.057143z"
									fill="#D72822" p-id="14766"></path></svg>
							<span class="tab-name">商铺出售</span>
						</div>

		<!-- 				<div class="menu-tab-stick-header-dropdown-list-item" th:if="${tid != 5}" data-key="xinpuzushou" lay-event="bodyload">
							<svg t="1597650028407" class="icon" viewBox="0 0 1024 1024"
								version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="21553"
								width="17" height="17">
								<path
									d="M245.76 286.72h552.96c124.928 0 225.28 100.352 225.28 225.28s-100.352 225.28-225.28 225.28H0V532.48c0-135.168 110.592-245.76 245.76-245.76z m133.12 348.16V401.408H348.16v178.176l-112.64-178.176H204.8V634.88h30.72v-178.176L348.16 634.88h30.72z m182.272-108.544v-24.576h-96.256v-75.776h110.592v-24.576h-141.312V634.88h143.36v-24.576h-112.64v-83.968h96.256z m100.352 28.672l-34.816-151.552h-34.816l55.296 233.472H675.84l47.104-161.792 4.096-20.48 4.096 20.48 47.104 161.792h28.672l57.344-233.472h-34.816l-32.768 151.552-4.096 30.72-6.144-30.72-40.96-151.552h-30.72l-40.96 151.552-6.144 30.72-6.144-30.72z"
									fill="#EE502F" p-id="21554"></path></svg>
							<span class="tab-name">新铺租售</span>
						</div> -->
						<div class="menu-tab-stick-header-dropdown-list-item" th:if="${tid != 7}" data-key="shanghuhuodong" lay-event="bodyload">
							<svg t="1597649830225" class="icon" viewBox="0 0 1024 1024"
								version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16259"
								width="17" height="17">
								<path
									d="M512 62.93333333C264.42666667 62.93333333 62.93333333 264.42666667 62.93333333 512s201.49333333 449.06666667 449.06666667 449.06666667 449.06666667-201.49333333 449.06666667-449.06666667S759.57333333 62.93333333 512 62.93333333z m292.16 370.24L645.65333333 556.48l52.8 193.81333333c2.02666667 7.57333333-0.74666667 15.57333333-7.14666666 20.05333334-3.30666667 2.34666667-7.14666667 3.52-10.98666667 3.52-3.62666667 0-7.25333333-1.06666667-10.34666667-3.09333334L512 665.49333333l-157.97333333 105.38666667c-6.50666667 4.37333333-14.93333333 4.16-21.33333334-0.42666667-6.29333333-4.58666667-9.17333333-12.58666667-7.14666666-20.05333333l52.8-193.81333333-158.50666667-123.41333334c-6.29333333-4.90666667-8.85333333-13.33333333-6.18666667-20.8 2.56-7.57333333 9.70666667-12.69333333 17.70666667-12.69333333H424.53333333l70.08-175.36c5.65333333-14.18666667 29.01333333-14.18666667 34.77333334 0L599.46666667 399.68h193.17333333c8 0 15.14666667 5.12 17.70666667 12.69333333 2.66666667 7.57333333 0.10666667 15.89333333-6.18666667 20.8z"
									fill="#f4ea2a" p-id="16260"></path></svg>
							<span class="tab-name">商户活动</span>
						</div>
						<div class="menu-tab-stick-header-dropdown-list-item" th:if="${tid != 6}" data-key="shanghufuwu" lay-event="bodyload">
							<svg t="1597649923780" class="icon" viewBox="0 0 1024 1024"
								version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18603"
								width="17" height="17">
								<path
									d="M540.4 484.5V293.3c0-42.5 12-81.2 37.1-115.6 26.4-36 61.1-60.7 104.4-71.7 69.3-17.5 131.3-2.6 184 46.1 29.4 26.7 49 62.5 55.9 101.6 12.7 70.1-6.7 130.5-58.8 179.5-28.3 26.6-62.5 42.2-100.8 48.3-11 1.8-22.1 2.7-33.3 2.7-61.5 0.2-122.9 0.1-184.4 0.1l-4.1 0.2z m-56.5 0H294c-50 0-93.8-16.3-131-49.6-30.1-26.5-51-62-59.6-101.2-15.6-69.2 8.1-141.3 61.7-187.7 28.6-24.7 61.6-40 99-44.9 60.6-7.9 113.6 9 158.2 50.9 32.3 30.4 51.7 68 59 111.6 1.7 9.9 2.5 19.9 2.6 29.9 0.2 62.6 0.1 125.1 0.1 187.7l-0.1 3.3z m0 56.4v190.3c0.1 50-16.4 93.8-49.8 131-29.5 32.8-66.1 53.9-109.8 61-66.9 10.9-124.4-8.6-171.9-56.7-25.8-25.8-43.2-58.9-49.9-94.8-11.6-61 2.2-115.9 42.7-163.2 29.8-34.8 68-55.6 113-64.1 12.3-2.3 24.9-3.4 37.4-3.4h184.1l4.2-0.1z m56.5 2.2h191.5c38.8 0 74.8 9.8 107.4 31 40 26.1 67.1 62.1 79.3 108.2 16.3 61.3 5 117.9-33.4 168.5-26.4 34.7-61.3 57.5-103.4 68.9-20.8 5.8-42.5 7.7-64 5.6-73.1-7.6-125.8-45-158.9-110.3-10-19.6-15.3-40.7-17.6-62.6-0.7-6.9-0.9-13.8-0.9-20.8-0.1-61.7-0.1-123.4 0-185.2v-3.3z"
									fill="#1375FF" p-id="18604"></path></svg>
							<span class="tab-name">商户服务</span>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div class="pgc-content">
			<section class="byte-layout mp-main-contain mp-main-contain-fullscreen">
				<main class="byte-layout-content garr-container">
					<input id="mpuserid" th:value="${user.userId}" type="hidden"/>
                	<form class="sidebar-conBody layui-form" id="publishform">
	                	<input type="hidden" id="citycodeValue" th:value="${citycode}"/>
	                	<input type="hidden" id="articleId" name="articleId" value=""/>
	                	<input  type="hidden" name="columnId" th:value="${tid}">
						<div class="garr-panel no-menu" id="graphic">
							<div class="pagelet-write garr-container-white newVersion background-reset">
								<div class="edit-wrap common-container-wrapper">
									<div class="publish-editor">
										<div class="syl-editor-toolbar visible" id="mytoolbar" style="top: 64px;"></div>
										<div class="publish-editor-title-wrapper">
											<div class="assistant-title">
												<div class="publish-editor-title-inner">
													<div class="mock-title" style="direction: ltr;box-sizing: border-box;width: 650px;overflow-x: hidden;overflow-y: hidden;border-style: none;border-top-width: 0px;border-right-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;font-style: normal;font-variant: normal;font-weight: 700;font-stretch: 100%;font-size: 24px;line-height: 36px;font-family: PingFangSC-Regular, Arial;text-align: start;text-transform: none;text-indent: 0px;text-decoration: none solid rgb(34, 34, 34);letter-spacing: normal;word-spacing: 0px;white-space: pre-wrap;">
														<span></span>
														<span></span>
													</div>
													<div class="title-wrapper">
														<div class="publish-editor-title publish-editor-title">
															<div class="publish-editor-title-inner">
																<div class="editor-title autofit-textarea-wrapper">
																	<pre class="autofit-textarea-content"></pre>
																	<textarea placeholder="请输入文章标题（5-30个字符）" maxlength="30" name="title" autocomplete="off" id="numchange"></textarea>
																</div>
																<span class="title-tip">还需输入 <span class="publish-title-bold">5</span> 个字</span>
															</div>
														</div>
													</div>
													<div class="hint-warn-tip"><span></span></div>
												</div>
											</div>
										</div>
										<div class="syl-editor-wrap">
											<div class="syl-editor" style="position: relative;">
												<div class="ProseMirror" id="editor-loading">
													<textarea id="editor_id" name="content" style="width:100%;height:550px;resize:none;border:none;"></textarea>
												</div>
											</div>
										</div>
									</div>
									
									<div class="form-wrap">
										<div class="form-cards"><div class="educluecard"></div></div>
										<div class="form-container">
											<div class="layui-form-item">
										    	<label class="layui-form-label">个性标签</label>
											    <div class="layui-input-block">
											      	 <input type="text" value="" data-role="tagsinput" id="userlabel" class="inputVue layui-input">
											    </div>
									  		</div>
									  		<th:block th:if="${not #lists.isEmpty(labels)}">
				                            	<div class="layui-form-item">
					                                <div class="layui-input-block">
					                                    <ul class="perClassUl">
					                                        <li class="perClassLi" th:each="label:${labels}">
					                                        	<span th:attr="data-tit=${label.labelName}" class="layui-badge layui-bg-gray perClassLi-a" th:text="${label.labelName}">赤</span>
					                                        </li>
					                                    </ul>
					                                </div>
					                            </div>
				                            </th:block>
				                             <div class="layui-form-item">
				                                <div class="layui-input-block">
				                                    <span class="txt-boxColor">最多添加10个标签，每个标签1-10字符</span>
				                                </div>
				                            </div>
				                            
				                            <!-- 铺友圈 -->
				                            <th:block th:if="${tid == 1}">
												<div class="layui-form-item">
											    	<label class="layui-form-label layui-form-required">信息类型</label>
												    <div class="layui-input-block">
												      	<input type="radio" name="articleType" value="0" title="原创" checked>
											      		<input type="radio" name="articleType" value="1" title="转载">
											      		<input type="radio" name="articleType" value="2" title="翻译">
												    </div>
										  		</div>
									  		</th:block>
									  		<!-- /铺友圈 -->
									  		
									  		<!-- 商铺组转 -->
									  		<th:block th:if="${tid == 3}">
										  		<div class="layui-form-item">
										  			<div class="layui-inline">
										  				<label class="layui-form-label layui-form-required" for="">经营业态</label>
													  	<div class="layui-input-inline">
													   		<select name="formatId" lay-reqText="经营业态不能为空" lay-vertype="tips" lay-verify="required" required>
																<option value="-1">不限</option>
													   			<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
													   		</select>
													   	</div>
										  			</div>
													<div class="layui-inline">
														<label class="layui-form-label" for="">转让费</label>
												    	<div class="layui-input-inline">
												    		<input type="text" name="transferFee" placeholder="请输入转让费" autocomplete="off" class="layui-input" maxlength="20">
												    	</div>
													</div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">区域</label>
													  	<div class="layui-input-inline">
															<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
																lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">详细地址</label>
														<div class="layui-input-inline">
													     	<input type="text" id="address" name="address" placeholder="请输入详细地址" autocomplete="off" class="layui-input" maxlength="200"
																lay-reqText="详细地址不能为空" lay-vertype="tips" lay-verify="required" required>
													    </div>
												     </div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">面积</label>
													    <div class="layui-input-inline">
															<select name="area" lay-reqText="请选择面积" lay-vertype="tips" lay-verify="required" required>
													        	<option value="">请选择</option>
																<option value="不限">不限</option>
													        	<option value="10-20㎡">10-20平米</option>
													        	<option value="21-50㎡">21-50平米</option>
													        	<option value="51-100㎡">51-100平米</option>
													        	<option value="101-150㎡">101-150平米</option>
													        	<option value="151-200㎡">151-200平米</option>
																<option value="201-300㎡">201-300平米</option>
																<option value="300-500㎡">300-500平米</option>
																<option value="500㎡以上">500平米以上</option>
													      	</select>
													    </div>
													</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">租金</label>
												   		<div class="layui-input-inline">
															<select name="rent" lay-reqText="请选择租金" lay-vertype="tips" lay-verify="required" required>
												        		<option value="">请选择</option>
																<option value="面议">面议</option>
												        		<option value="1000-2000元">1000-2000元</option>
												        		<option value="2001-4000元">2001-4000元</option>
												        		<option value="4001-6000元">4001-6000元</option>
												        		<option value="6001-8000元">6001-8000元</option>
												        		<option value="8001-10000元">8001-10000元</option>
																<option value="10001-15000元">10001-15000元</option>
																<option value="15001-20000元">15001-20000元</option>
																<option value="20001-30000元">20001-30000元</option>
																<option value="30000元以上">30000元以上</option>
												      		</select>
												   		</div>
													</div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">联系人</label>
													    <div class="layui-input-inline">
													    	<input type="text" id="contacts" name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
																lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
													    </div>
													</div>
												    
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">联系电话</label>
												   		<div class="layui-input-inline">
												   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
																lay-reqText="联系电话不能为空" lay-vertype="tips" lay-verify="required|phone" required>
												   		</div>
													</div>
												</div>	
											</th:block>
									  		<!-- /商铺组转 -->
									  		
									  		<!-- 商铺出售 -->
									  		<th:block th:if="${tid == 4}">
										  		<div class="layui-form-item">
													<label class="layui-form-label layui-form-required" for="">经营业态</label>
												  	<div class="layui-input-inline">
												   		<select name="formatId" id="formatId" lay-reqText="经营业态不能为空" lay-vertype="tips" lay-verify="required" required>
															<option value="-1">不限</option>
												   			<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
												   		</select>
												   	</div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">	
														<label class="layui-form-label layui-form-required" for="">区域</label>
													  	<div class="layui-input-inline">
															<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
																lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">详细地址</label>
														<div class="layui-input-inline">
															<input type="text" id="address" name="address" placeholder="请输入详细地址" autocomplete="off" class="layui-input" maxlength="200"
																lay-reqText="详细地址不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">
													 	<label class="layui-form-label layui-form-required" for="">面积</label>
													    <div class="layui-input-inline">
															<input type="text" name="area" placeholder="请输入面积" autocomplete="off" class="layui-input" maxlength="20"
																	lay-reqText="面积不能为空" lay-vertype="tips" lay-verify="required" required>
													    </div>
												    </div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">总价</label>
												   		<div class="layui-input-inline">
												   			<input type="text" id="totalPrice" name="totalPrice" placeholder="请输入出售总价（万）" autocomplete="off" class="layui-input" maxlength="20"
																lay-reqText="总价不能为空" lay-vertype="tips" lay-verify="required|number" required>
												   		</div>
													</div>
												</div>	
												<div class="layui-form-item">
													<div class="layui-inline">
													    <label class="layui-form-label layui-form-required" for="">联系人</label>
													    <div class="layui-input-inline">
													    	<input type="text" id="contacts" name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
																lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
													    </div>
												    </div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">联系电话</label>
												   		<div class="layui-input-inline">
												   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
																lay-reqText="联系电话不能为空" lay-vertype="tips" lay-verify="required|phone" required>
												   		</div>
													</div>
												</div>
											</th:block>
									  		<!-- /商铺出售 -->
									  		
									  		<!-- 新铺租售 -->
									  		<th:block th:if="${tid == 5}">
										  		<div class="layui-form-item">
										  			<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">经营业态</label>
													  	<div class="layui-input-inline">
													   		<select name="formatId" id="formatId" lay-reqText="经营业态不能为空" lay-vertype="tips" lay-verify="required" required>
																<option value="-1">不限</option>
													   			<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
													   		</select>
													   	</div>
												   	</div>
													<div class="layui-inline">
														<label class="layui-form-label" for="">楼盘名称</label>
												    	<div class="layui-input-inline">
												    		<input type="text" id="propertyName" name="propertyName" placeholder="请输入楼盘名称" autocomplete="off" class="layui-input" maxlength="50">
												    	</div>
													</div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">区域</label>
													  	<div class="layui-input-inline">
															<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
																lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">详细地址</label>
														<div class="layui-input-inline">
															<input type="text" id="address" name="address" placeholder="请输入详细地址" autocomplete="off" class="layui-input" maxlength="200"
																lay-reqText="详细地址不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">
													 	<label class="layui-form-label layui-form-required" for="">面积</label>
													    <div class="layui-input-inline">
															<select name="area" lay-reqText="请选择面积" lay-vertype="tips" lay-verify="required" required>
													        	<option value="">请选择</option>
																<option value="不限">不限</option>
													        	<option value="10-20㎡">10-20平米</option>
													        	<option value="21-50㎡">21-50平米</option>
													        	<option value="51-100㎡">51-100平米</option>
													        	<option value="101-150㎡">101-150平米</option>
													        	<option value="151-200㎡">151-200平米</option>
																<option value="201-300㎡">201-300平米</option>
																<option value="300-500㎡">300-500平米</option>
																<option value="500㎡以上">500平米以上</option>
													      	</select>
													    </div>
												    </div>
													<div class="layui-inline">
														<label class="layui-form-label" for="">租金</label>
												   		<div class="layui-input-inline">
															<select name="rent">
												        		<option value="">请选择</option>
																<option value="面议">面议</option>
												        		<option value="1000-2000元">1000-2000元</option>
												        		<option value="2001-4000元">2001-4000元</option>
												        		<option value="4001-6000元">4001-6000元</option>
												        		<option value="6001-8000元">6001-8000元</option>
												        		<option value="8001-10000元">8001-10000元</option>
																<option value="10001-15000元">10001-15000元</option>
																<option value="15001-20000元">15001-20000元</option>
																<option value="20001-30000元">20001-30000元</option>
																<option value="30000元以上">30000元以上</option>
												      		</select>
												   		</div>
													</div>
												</div>
												<div class="layui-form-item">
													<label class="layui-form-label" for="">总价</label>
												   	<div class="layui-input-inline">
												   		<input type="text" id="totalPrice" name="totalPrice" placeholder="请输入出售总价（万）" autocomplete="off" class="layui-input" maxlength="20">
												   	</div>
												</div>	
												<div class="layui-form-item">
													<div class="layui-inline">
													    <label class="layui-form-label layui-form-required" for="">联系人</label>
													    <div class="layui-input-inline">
													    	<input type="text" id="contacts" name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
																lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
													   	</div>
												   	</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">联系电话</label>
												   		<div class="layui-input-inline">
												   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
																lay-reqText="联系电话不能为空" lay-vertype="tips" lay-verify="required|phone" required>
												   		</div>
													</div>
												</div>
											</th:block>
									  		<!-- /新铺租售 -->
									  		
									  		<!-- 商户活动 -->
									  		<th:block th:if="${tid == 7}">
										  		<div class="layui-form-item">
										  			<div class="layui-inline">
													 	<label class="layui-form-label layui-form-required" for="">区域</label>
													  	<div class="layui-input-inline">
															<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
																lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">活动类型</label>
												   		<div class="layui-input-inline">
												    		<select name="formatId" lay-reqText="活动类型不能为空" lay-vertype="tips" lay-verify="required" required>
												        		<option value="-1">不限</option>
												   				<option th:each="item : ${formats}" th:value="${item.formatId}" th:text="${item.formatName}"></option>
												        	</select>
												    	</div>
													</div>
												</div>	
												<div class="layui-form-item">
													<div class="layui-inline">
													 	<label class="layui-form-label layui-form-required" for="">门店地址</label>
													  	<div class="layui-input-inline">
															<input type="text" id="address" name="address" placeholder="请输入门店地址" autocomplete="off" class="layui-input" maxlength="200"
																	lay-reqText="门店地址不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">活动时间</label>
												   		<div class="layui-input-inline">
												    		<input type="text" id="rangTime" name="rangTime" placeholder="开始时间 - 结束时间" autocomplete="off" class="layui-input" maxlength="30"
																lay-reqText="活动时间不能为空" lay-vertype="tips" lay-verify="required" required>
												    	</div>
													</div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">
													 	<label class="layui-form-label layui-form-required" for="">活动数量</label>
													  	<div class="layui-input-inline">
															<input type="text" name="shopNum" placeholder="请输入活动数量" autocomplete="off" class="layui-input" maxlength="50"
																	lay-reqText="活动数量不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">取货方式</label>
												   		<div class="layui-input-inline">
												   			<select name="pickUp" lay-reqText="取货方式不能为空" lay-vertype="tips" lay-verify="required" required>
												        		<option value="到店自取">到店自取</option>
																<option value="快递邮寄">快递邮寄</option>
												      		</select>
												    	</div>
													</div>
												</div>
												<div class="layui-form-item">
													<div class="layui-inline">
													    <label class="layui-form-label layui-form-required" for="">联系人</label>
													    <div class="layui-input-inline">
													    	<input type="text" id="contacts"  name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
																lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
													    </div>
												    </div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">联系电话</label>
												   		<div class="layui-input-inline">
												   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
																lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required|phone" required>
												   		</div>
													</div>
												</div>
											</th:block>	
									  		<!-- /商户活动 -->
									  		
									  		<!-- 商户服务 -->
									  		<th:block th:if="${tid == 6}">
										  		<div class="layui-form-item">
										  			<div class="layui-inline">
													 	<label class="layui-form-label layui-form-required" for="">区域</label>
													  	<div class="layui-input-inline">
															<input id="cityCodeCascader" th:value="${citycode}" name="cityCode" placeholder="请选择" class="layui-hide"
																lay-reqText="意向区域不能为空" lay-vertype="tips" lay-verify="required" required>
														</div>
													</div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">服务类型</label>
												   		<div class="layui-input-inline">
												    		<select name="serviceItems" lay-reqText="服务类型不能为空" lay-vertype="tips" lay-verify="required" required>
												        		<option th:each="item:${serviceItems}" th:value="${item.sid}" th:text="${item.name}"></option>
												        	</select>
												    	</div>
													</div>
												</div>	
												<div class="layui-form-item">
													<div class="layui-inline">
													    <label class="layui-form-label layui-form-required" for="">联系人</label>
													    <div class="layui-input-inline">
													    	<input type="text" id="contacts" name="contacts" placeholder="请输入联系人" autocomplete="off" class="layui-input" maxlength="50"
																lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required" required>
													    </div>
												    </div>
													<div class="layui-inline">
														<label class="layui-form-label layui-form-required" for="">联系电话</label>
												   		<div class="layui-input-inline">
												   			<input type="text" id="telephone" name="telephone" placeholder="请输入联系电话" autocomplete="off" class="layui-input"
																lay-reqText="联系人不能为空" lay-vertype="tips" lay-verify="required|phone" required>
												   		</div>
													</div>
												</div>	
											</th:block>
									  		<!-- /商户服务 -->
									  		
										</div>
									</div>
									
									<div class="publish-footer">
		                              	<div class="garr-footer-publish-content publish-footer-content">
		                              		<div class="footer-back-content">发文设置<span class="footer-back-content-icon footer-back-content-icon-down"></span></div>
		                              		<div class="footer-tip">
		                              			<span class="cumt">正文字数：0</span>
		                              			<span class="footer-tip-save">已保存</span>
		                              		</div>
		                              		<button class="layui-btn layui-btn-primary" style="border-radius: 4px;width: 120px;" lay-filter="draftsArticle" lay-submit>存草稿</button>
		                                 		<span class="layui-btn layui-btn-primary" style="border-radius: 4px;width: 120px;" lay-event="timingArticle">定时发布</span>
		                                  	<button class="layui-btn" lay-filter="publishArticle" style="background-color: #ff4200;border-radius: 4px;width: 120px;" lay-submit>发布</button>
		                              	</div>
		                            </div>
								</div>
							</div>
						</div>
					</form>
				</main>
			</section>
		</div>
	</div>
</div>

<script src="/assets/libs/postedit/honeySwitch.js"></script>
<script src="/assets/libs/postedit/tagsinput.min.js"></script>
<script src="/assets/libs/postedit/tag.js"></script>

<!-- 定时发布 -->
<script type="text/html" id="timingTimeId">
    <form id="timingEditForm" lay-filter="timingEditForm" class="layui-form" style="padding: 25px 0 0 0;">
    	<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label" style="width:140px;">请选择发布时间</label>
	                 	<div class="layui-input-inline">
					<select name="date" id="dateId" lay-filter="datefilter"></select>
	           	</div>
	        </div>
	        <div class="layui-inline">
				<div class="layui-input-inline" style="width:60px;">
	                <select id="hourId" name="hour" lay-filter="hourfilter"></select>
				</div>
				<div class="layui-form-mid layui-word-aux">时</div>
	        </div>
			<div class="layui-inline">
				<div class="layui-input-inline" style="width:60px;">
	            	<select id="minuteId" name="minute" lay-filter="minutefilter"></select>
				</div>
				<div class="layui-form-mid layui-word-aux">分</div>
	    	</div>
		</div>
		<div style="text-align:center;padding:30px 0px 40px 0px;">
			<p style="margin-bottom: 24px;">(只能选择2小时-7天范围内的时间)</p>
			<p style="margin-bottom: 24px;">本文将于 <span id="timingId"></span>发布</p>
		</div>
        <div class="layui-form-item text-center" style="border-top: 1px solid #e8e8e8;padding: 10px;">
        	<button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
            <button class="layui-btn" lay-filter="timingPublishSubmit" lay-submit>定时发布</button>
        </div>
    </form>
</script>

<script type="text/javascript">
layui.use(['layer', 'dropdown', 'element'], function () {
    var $ = layui.jquery;
    
    $('html,body').animate({
        scrollTop:  0
    }, 100);
    
    $('.menu-tab-stick-header-button').click(function () {
    	 setTimeout(function(){
    		 if($('.dropdown-menu').hasClass('dropdown-open')){
        		 $('#rotate').attr('class', 'rotate');
        	 }else{
        		 $('#rotate').attr('class', '');
        	 }
   		},200);
    })
    
    $(document).mousedown(function(e){
    	setTimeout(function(){
    		if($('.dropdown-menu').hasClass('dropdown-open')){
       		 	$('#rotate').attr('class', 'rotate');
       	 	}else{
       			$('#rotate').attr('class', '');
       	 	}
   		},0);
	});

});


</script>

</body>
</html>